package com.matrix.java.chap_03;

/*
    随机点
 */
public class Ex3_16 {
    public static void main(String[] args) {
        int randomX = ((int) (Math.random() * 100)) -50;
        int randomY = ((int) (Math.random() * 200)) -100;
        System.out.println("坐标: " + "(" + randomX + "," + randomY + ")");
    }
}
